package com.example.demo.service;

import com.example.demo.entity.Permission;
import com.example.demo.entity.SysRole;

import java.util.List;

/**
 * @author Administrator
 * @className wuyp
 * @description:
 * @Date 2022/3/25 10:29
 **/
public interface SysRoleService {
    List<SysRole> findAll();
    List<SysRole>  findAllById(List<Integer>ids);
    void addRole(SysRole sysRole);
    void deleteRole(Integer id);
    SysRole findById(Integer id);
    void  updateRole(SysRole sysRole);
    List<SysRole> findRoleByName(String roleName);
    List <Integer> getRoleIdsByName(String roleName);
    void  deleteBatchRoles(List<Integer>ids);

}
